<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <title>Document</title>
    <link type="text/css" href="../../CSS/font-awesome.min.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="../../CSS/cursorhome.css" />
    <script src="../../JS/jquery.min.js"></script>
</head>

<body>
    <p class="head">用户<span th:text="${id}"/>快递员，欢迎您！</p>
    <button class="goBack">退出</button>

    <div class="main">

        <p class="check1">查询待配送快递</p>
        <table id="tbl" border="1">
            <tr>
                <td> 货物名称</td>
                <td> 收件人姓名</td>
                <td> 电话号码</td>
                <td> 配送地址</td>
                <td> 货物号</td>
                <td> 输入快递号</td>
                <td> 配送</td>
                <!--<td>确认是否配送成功</td>-->

            </tr>
            <tr th:each="o:${list}">
                <td ><span th:text="${o.commodity_name}"/></td>
                <td ><span th:text="${o.true_name}"/></td>
                <td ><span th:text="${o.telephone}"/></td>
                <td ><span th:text="${o.courier_address}"/></td>
                <td ><span th:text="${o.delivery_id}"/></td>
                <form method="post" action="/receipt">
                <td > <input id="DeliveryID" name="delivery_id"/></td>
                <td ><button class="submit_btn">配送已完成</button></td>
                </form>
                <!--<td class="adress"> </td>-->
                <!--<td><button class="right">确认配送</button></td>-->
            </tr>
        </table>

        <p class="check2">查询快递员配送等级</p>
        <table id="tb2" border="1">
            <tr>
                <td><span th:text="${average}"/></td>
            </tr>

        </table>
    </div>
    <script src="../../JS/cursorhome.js"></script>

</body>

</html>